Forrest = {}
Forrest.__index = Forrest
 
function Forrest.new()
    local instance = {
      typeObject = nil
    }
    
    setmetatable(instance, Forrest)
    return instance
end

setmetatable(Forrest,{__index = WorldObject})

function Forrest:getTexture()
  if self.typeObject == "Forrest1" then 
    return textureForrest1
  else
    return textureForrest2
  end
end

function Forrest:setType(_type)
  self.typeObject = _type
end

function Forrest:getType()
  return self.typeObject
end

return Forrest